//
//  OrderDetailViewController.h
//  ShoppingExperience
//
//  Created by LiYinDi on 15/9/25.
//  Copyright (c) 2015年 RuiBen. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol OrderDetailDelegate;
@interface OrderDetailViewController : UIViewController
@property(nonatomic,weak) id<OrderDetailDelegate> delegate;
@property(nonatomic,strong) NSString *docNumStr;
//@property(nonatomic,strong) NSString *isHiddenStr;

@property(weak, nonatomic)IBOutlet UIButton *alphaView;
@property(weak, nonatomic)IBOutlet UIScrollView *detailScrollView;
@property(weak, nonatomic)IBOutlet UILabel *detailNumLabel;
@property(weak, nonatomic)IBOutlet UILabel *detailStatusLabel;
@property(weak, nonatomic)IBOutlet UILabel *detailMemberNameLabel;
@property(weak, nonatomic)IBOutlet UILabel *detailGuideNameLabel;
@property(weak, nonatomic)IBOutlet UILabel *detailGuideNameTagLabel;
@property(weak, nonatomic)IBOutlet UILabel *detailStoreNameLabel;
@property(weak, nonatomic)IBOutlet UILabel *detailStoreNameTagLabel;
@property(weak, nonatomic)IBOutlet UILabel *detailDateLabel;

//收银信息
@property(weak, nonatomic)IBOutlet UILabel *cashierDateLabel;
@property(weak, nonatomic)IBOutlet UILabel *cashierTagLabel;
@property(weak, nonatomic)IBOutlet UILabel *cashierLabel;
@property(weak, nonatomic)IBOutlet UILabel *bankLabel;
@property(weak, nonatomic)IBOutlet UILabel *bankTagLabel;
@property(weak, nonatomic)IBOutlet UILabel *depositLabel;
@property(weak, nonatomic)IBOutlet UILabel *integralTagLabel;
@property(weak, nonatomic)IBOutlet UILabel *integralLabel;
@property(weak, nonatomic)IBOutlet UILabel *decutibleTagLabel;
@property(weak, nonatomic)IBOutlet UILabel *decutibleLabel;
@property(weak, nonatomic)IBOutlet UILabel *oldMeterialTagLabel;
@property(weak, nonatomic)IBOutlet UILabel *oldMeterialLabel;
@property(weak, nonatomic)IBOutlet UILabel *referLineLabel;
@property(weak, nonatomic)IBOutlet UIView *shopInfoView;
//关联定金
@property(weak, nonatomic)IBOutlet UILabel *relateDateLabel;
@property(weak, nonatomic)IBOutlet UILabel *relateDocNumTagLabel;
@property(weak, nonatomic)IBOutlet UILabel *relatedDocNumLabel;
@property(weak, nonatomic)IBOutlet UIView *relateDepositView;
//@property(weak, nonatomic)IBOutlet UILabel *relatedNoteLabel;
@property(weak, nonatomic)IBOutlet UIButton *relatedBtn;
//购买商品信息
@property(weak, nonatomic)IBOutlet UILabel *shopInfoLabel;
@property(weak, nonatomic)IBOutlet UITableView *detailTableView;
//lastView
@property(weak, nonatomic)IBOutlet UITextView *detailTextView;
@property(weak, nonatomic)IBOutlet UIView *detailLastView;

@property(weak, nonatomic)IBOutlet UIButton *printBtn;
@property(weak, nonatomic)IBOutlet UIButton *cancelOrderBtn;

//cancelorderRecordView
@property(weak, nonatomic)IBOutlet UIView *cancelOrderRecordView;
@property(weak, nonatomic)IBOutlet UILabel *cancelOrderGuideNameLabel;
@property(weak, nonatomic)IBOutlet UILabel *cancelOrderGuideNameTagLabel;
@property(weak, nonatomic)IBOutlet UILabel *cancelOrderDateLabel;
@property(weak, nonatomic)IBOutlet UILabel *cancelDepositTagLabel;
@property(weak, nonatomic)IBOutlet UILabel *cancelDepositLabel;
@property(weak, nonatomic)IBOutlet UILabel *cancelRemarkLabel;
@end

@protocol OrderDetailDelegate <NSObject>
@optional
-(void)productItemDetail:(NSString *)codeString;
-(void)CancelOrderBtnClick;
-(void)RelateDepositBtnClick;
@end
